import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 服务项目定义查询
export const salesServices = params => axios.get(`${SERVER.CYXDMS_RETAIL}/ordermanage/salesServices`, { params });
// 服务项目定义（可用）查询
export const queryValidList = params => axios.get(`${SERVER.CYXDMS_RETAIL}/ordermanage/salesServices/queryValidList`, { params });
// 单条新增服务项目定义
export const programInsert = params => axios.post(`${SERVER.CYXDMS_RETAIL}/ordermanage/salesServices/insert`, params);
// 停用/启用单条服务项目定义
export const modifyValid = params => axios.post(`${SERVER.CYXDMS_RETAIL}/ordermanage/salesServices/modifyValid`, params);
